// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.

namespace Stride.Core.Assets.Analysis;

/// <summary>
/// Options used when searching asset dependencies.
/// </summary>
[Flags]
public enum AssetDependencySearchOptions
{
    /// <summary>
    /// Search for <c>in</c> only dependencies.
    /// </summary>
    In = 1,

    /// <summary>
    /// Search for <c>out</c> only dependencies.
    /// </summary>
    Out = 2,

    /// <summary>
    /// Search for <c>in</c> and <c>out</c> dependencies.
    /// </summary>
    InOut = In | Out,

    /// <summary>
    /// Search recursively
    /// </summary>
    Recursive = 4,

    /// <summary>
    /// Search recursively all <c>in</c> and <c>out</c> dependencies.
    /// </summary>
    All = InOut | Recursive
}
